package server;

import java.util.Date;

import Client.Doctor;
import Client.Nurse;
import Client.Patient;

public class Journal {
	
	public Patient patient;
	public Nurse nurse;
	public Doctor doctor;
	private int division;
	private Date date;
	private String startTime;
	private String data;
	
	public Journal(Patient patient, Nurse nurse, Doctor doctor, int division, String data){
		date = new Date();
		this.patient = patient;
		this.nurse = nurse;
		this.doctor = doctor;
		this.division = division;
		this.data = data;
		startTime = date.toString();
	}
	
	public String getPatient(){
		return patient.getID();
	}
	public String getDoctor(){
		return doctor.getID();
	}
	public String getNurse(){
		return nurse.getID();
	}
	public String getDateForJournal(){
		return startTime;
	}
	public String getData(){
		return data;
	}
	public int getDivision(){
		return division;
	}
}
